package java_collection.varargs;

import static java.lang.System.out;

public class VarArgsOverloadingSuccess {

	public static void main(String[] args) {
		
		load(1); // call to int load
		
		load(1.5); // call to double load

	}
	
	public static void load(int... n) {
		out.println("int");
	}
	public static void load(double... n) {
		out.println("double");
	}
}
